import {useState} from 'react'
import {Link} from 'react-router-dom'

function App() {
    const [count, setCount] = useState(0)

    return (
        <>
            <Link to={"/goods"}>子路由演示</Link><br/>
            <Link to={"/edit/99?goods_id=123"}>获取参数演示</Link><br/>
            <Link replace to={"/user"}>跳转后无法手动返回，3秒自动返回</Link><br/>
        </>
    )
}

export default App
